<% if(!isLogin){%>
  <script>
    // 在此开启统一验证
    // 如果没有登陆的话,得先跳转到登陆页面
    location.href='/login'
  </script>
<%}%>
<!DOCTYPE html>
  <html lang="zh-CN">

  <head>
    <meta charset="utf-8">
    <title>Dashboard &laquo; Admin</title>
    <link rel="stylesheet" href="/assets/vendors/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="/assets/vendors/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="/assets/vendors/nprogress/nprogress.css">
    <link rel="stylesheet" href="/assets/css/admin.css">
    <script src="/assets/vendors/nprogress/nprogress.js"></script>
  </head>

  <body>
    <script>NProgress.start()</script>